transformnode: Avoid matrix multiplication if we can
authorTimm Bäder <mail@baedert.org>
Tue, 26 Feb 2019 06:24:18 +0000 (07:24 +0100)
committerTimm Bäder <mail@baedert.org>
Thu, 28 Feb 2019 06:22:34 +0000 (07:22 +0100)
commitbbd4e2f60d9e060fbe3b0c2dcebcd1d6b7335a2a
tree0c96711672cf3c2efed49a145806caf6121e35f5
parent5577e30ad4d56ab370d8bb6f60d21583a533aeb3
transformnode: Avoid matrix multiplication if we can

If the given matrix is explicitly of category IDENTITY, we don't need to
do anything, and in the 2D_TRANSLATE case, just offset the child bounds.
Those are the two most common cases.
gsk/gskrendernodeimpl.c